<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let obj = {
        uname: '豆腐皮',
        make: function (x, y) {
          console.log(x + y)
        },
      }
      obj.make(1, 2)
      //增加唱歌的方法
      obj.sing = function (a) {
        console.log('唱歌')
      }
      console.log(obj)
      //打印输出
      obj.sing()
      //增加跳方法
      obj.jump = function (b) {
        // console.log(b)
        return b
      }
      //输出
      // obj.jump('跳')
      console.log(obj.jump('跳'))
    </script>
  </body>
</html>
